package cn.itcast.repository;

import cn.itcast.model.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: zhaojie
 * @Date: Created in 12:02 2018/8/10
 * @Description: 查询用户
 */
@Repository
public interface SysUserRepository extends JpaRepository<SysUser,Long> {
    SysUser findByUsername(String username);
}
